package icu.qx.gbs.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物品附件对象 gbs_good_file
 *
 * @author yong
 * @date 2024-06-11
 */
@JsonIgnoreProperties(value = {"handler"})
public class GbsGoodFile extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * file_id
     */
    private Long fileId;

    /**
     * pd_code
     */
    @Excel(name = "pd_code")
    private String filePdCode;

    /**
     * 文件名
     */
    @Excel(name = "文件名")
    private String fileName;

    /**
     * 文件地址
     */
    @Excel(name = "文件地址")
    private String fileUrl;

    /**
     * 文件大小
     */
    @Excel(name = "文件大小")
    private String fileLength;

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFilePdCode(String filePdCode) {
        this.filePdCode = filePdCode;
    }

    public String getFilePdCode() {
        return filePdCode;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileLength(String fileLength) {
        this.fileLength = fileLength;
    }

    public String getFileLength() {
        return fileLength;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("fileId", getFileId())
                .append("filePdCode", getFilePdCode())
                .append("fileName", getFileName())
                .append("fileUrl", getFileUrl())
                .append("fileLength", getFileLength())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
